package cn.farm.farm.MessageModel;

public class MessageList<Data> extends Common {
    Integer Number;
    Data data;
    Integer Size;

    public MessageList() {
    }

    public MessageList(int code, String message) {
        super(code, message);
    }

    public MessageList(int code, String message, Data data) {
        super(code, message);
        this.data = data;
    }

    public Integer getNumber() {
        return Number;
    }

    public void setNumber(Integer Number) {
        this.Number = Number;
    }

    public Integer getSize() {
        return Size;
    }

    public void setSize(Integer Size) {
        this.Size = Size;
    }

    public MessageList(Data data) {
        this.data = data;
    }

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

}
